import { request } from "@/utils/axiosInstance.js";

export const list = (params) => {
    return request({
        url: "/extendArticle/list",
        method: "get",
        params
    });
};

export const add = (data) => {
    return request({
        url: "/extendArticle/add",
        method: "POST",
        data,
    });
};

export const update = (data) => {
    return request({
        url: "/extendArticle/update",
        method: "POST",
        data,
    });
};

export const del = (data) => {
    return request({
        url: "/extendArticle/del",
        method: "POST",
        data,
    });
};
